
export enum UploadProjectEnum {
    ARTICLE_PRO_03 = 3,
}

export enum UploadIssueEnum {
    ARTICLE_COVER = 0,
    ARTICLE_CONTENT = 1,
}

/**
 * 构建文件上传地址
 * @param projectId 项目 id
 * @param issueId 项目下小分类 id
 * @param columnsId 表 id
 */
export const getUploadUrl = (projectId: number, issueId: number, columnsId: number): string => {
    return `/file/uploadProject/${projectId}/${issueId}/${columnsId}`
}


/*
* 获取头像上传地址
* */
export const getAvatarUploadUrl = (columnsId: number): string => {
    return getUploadUrl(4, 0, columnsId)
}
